package cn.dhnep.demo.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author dhn
 * @since 2021-08-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_classify")
@ApiModel(value="Classify对象", description="")
public class Classify implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "父id")
    private Integer fid;

    @ApiModelProperty(value = "编号")
    private String number;

    @ApiModelProperty(value = "昵称")
    private String name;

    @ApiModelProperty(value = "最低价格")
    private Double minimum;

    @ApiModelProperty(value = "最高价格")
    private Double highest;

    @ApiModelProperty(value = "结算价格")
    private Double settlementPrice;

    @ApiModelProperty(value = "计量单位")
    private String measure;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "登记时间")
    private String registrationTime;

    @ApiModelProperty(value = "登记人")
    private String registrant;

    @ApiModelProperty(value = "分润计算标准")
    private String profitMeasure;

    @ApiModelProperty(value = "上一级分润")
    private String previousProfit;

    @ApiModelProperty(value = "上两级分润")
    private String previousTwoProfit;

    //TODO 添加字段 修改者的名字和时间
    /*@ApiModelProperty(value = "修改者名字")
    private String adminName;*/

}
